﻿
using RBACProject.Application.Permission.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBACProject.Application.Permission
{
    public interface IPermissionService
    {
        /// <summary>
        /// 反填（加载）角色权限
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ResultDto<List<int>>> GetMenuId(int id);

        /// <summary>
        ///  角色权限分配（修改）
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<ResultDto> EditAssignPermission(PermissonDto dto);

       
    }
}
